@base-color: #929292;

.fz(@fontSize) {
  font-size: @fontSize;
}

.center(@width) {
  width: @width;
  margin: 0 auto;
}

header {
  width: 100%;
  height: 3rem;
  line-height: 3rem;
  background-color: rgb(236, 236, 236);

  .top-nav {
    .center(1200px);

    li {
      float: left;

      a {
        color: @base-color;
        padding: 0 10px;
        border-right: 1px solid #b1b1b1;

        span {
          color: red;
        }
      }

      &:last-of-type {
        a {
          border-right: 0;
        }
      }
    }
  }

  .top-search-container {
    .container{
      .center(800px);
      box-sizing: border-box;
    }
    .left-icon{
      padding: 30px;
    }
    .search{
      padding-top: 35px;
      input{
        width: 20rem;
        height: 3rem;
        padding: 0 1rem;
        border-color: orange;
        .fz(16px);
      }
      .btnsearch{
        width: 4rem;
        height: 3rem;
        border-color: orange;
      }
    }
    
  }
}

footer {
  margin-top: 1rem;

  .security {
    background: #af2525;
    padding: 30px;
    height: 70px;
    line-height: 70px;
    overflow: hidden;

    .wrap {
      width: 1200px;
      margin: 0 auto;
      text-align: left;

      li {
        width: 25%;
        float: left;
        font-size: 20px;
        font-weight: bold;
        color: #fff;

        i {
          display: inline-block;
          width: 70px;
          height: 70px;
          background: url(../res/images/service.png) no-repeat;
          margin-right: 20px;
          vertical-align: middle;
        }
      }
    }
  }

  .foot {
    width: 1200px;
    margin: 0 auto;
    text-align: left;
    line-height: 22px;
    padding: 20px 0;

    em {
      padding-right: 30px;

      a {
        margin-right: 8px;

        img {
          height: 42px;
        }
      }
    }

    p {
      a {
        margin-right: .5rem;
        color: #000;
      }
    }
  }
}
